package com.cq.hd.member.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cq.hd.member.po.TbUserBusinessPo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 * 用户-商家表 Mapper 接口
 * </p>
 */
@Mapper
public interface TbUserBusinessMapper extends BaseMapper<TbUserBusinessPo> {
    // 根据用户id获取商家id列表
    List<Long> getBusinessIdsByUserId(Long userId);
}
